<?php

namespace Admin\Controller;

class CourseController extends AdminController {
    public function courseList(){
        $data['banner'] = M('banner')->select();
        $this->assign($data);
        $this->display('list');
    }
    public function  courseAdd(){
        $this->display('add');
    }
}